package cn.iocoder.yudao.module.testequipment.controller.admin.testequipment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 参试设备管理表新增/修改 Request VO")
@Data
public class TestEquipmentSaveReqVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "设备名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "设备名称不能为空")
    private String eqName;

    @Schema(description = "所属部门", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "所属部门不能为空")
    private Long deptId;

    @Schema(description = "设备型号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "设备型号不能为空")
    private String model;

    @Schema(description = "存放库房id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "存放库房id不能为空")
    private Long warehouseId;

    @Schema(description = "存放位置", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "存放位置不能为空")
    private String storageLocation;

    @Schema(description = "使用状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "使用状态不能为空")
    private Integer useStatus;

    @Schema(description = "设备状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "设备状态不能为空")
    private Integer testStatus;

    @Schema(description = "附件")
    private String attachmentUrl;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "试验结果")
    private String testResult;

}